package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 床位对象 bed
 *
 * @author ruoyi
 * @date 2023-02-14
 */
public class Bed extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 1:介护  2：介助    3：自理 */
    @Excel(name = "1:介护  2：介助    3：自理")
    private Integer nursingType;

    /** 老人id */
    @Excel(name = "老人id")
    private Long personId;

    /** 老人姓名 */
    @Excel(name = "老人姓名")
    private String personName;

    /** 床位类型 */
    @Excel(name = "床位类型")
    private Long bedType;

    /** 床位状态:1.空闲，2.已入住，3.已入住 */
    @Excel(name = "床位状态:1.空闲，2.已入住，3.已入住")
    private String bedStatus;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal bedPrice;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 第一个父类部门id */
    @Excel(name = "第一个父类部门id")
    private Long deptFirstParentId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setNursingType(Integer nursingType)
    {
        this.nursingType = nursingType;
    }

    public Integer getNursingType()
    {
        return nursingType;
    }
    public void setPersonId(Long personId)
    {
        this.personId = personId;
    }

    public Long getPersonId()
    {
        return personId;
    }
    public void setPersonName(String personName)
    {
        this.personName = personName;
    }

    public String getPersonName()
    {
        return personName;
    }
    public void setBedType(Long bedType)
    {
        this.bedType = bedType;
    }

    public Long getBedType()
    {
        return bedType;
    }
    public void setBedStatus(String bedStatus)
    {
        this.bedStatus = bedStatus;
    }

    public String getBedStatus()
    {
        return bedStatus;
    }
    public void setBedPrice(BigDecimal bedPrice)
    {
        this.bedPrice = bedPrice;
    }

    public BigDecimal getBedPrice()
    {
        return bedPrice;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setDeptFirstParentId(Long deptFirstParentId)
    {
        this.deptFirstParentId = deptFirstParentId;
    }

    public Long getDeptFirstParentId()
    {
        return deptFirstParentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("nursingType", getNursingType())
            .append("personId", getPersonId())
            .append("personName", getPersonName())
            .append("bedType", getBedType())
            .append("bedStatus", getBedStatus())
            .append("bedPrice", getBedPrice())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deptId", getDeptId())
            .append("deptFirstParentId", getDeptFirstParentId())
            .toString();
    }
}
